package controls
{
	import flash.events.Event;
	import flash.geom.Point;

	public class PositionController
	{
		
		public static var selfPowerPoss:Array = [
			[new Point(127,260),new Point(177,260),new Point(228,260),new Point(273,260)],
			[new Point(50,251)],
			[new Point(434,112)]
		];
		
		public static function getBossTarget(id:int):Point
		{
			return new Point(400,500);	
		}
		
		public static function getHomePos(type:int,index:int = 0):Point
		{
			var tempPoint:Point;
			try
			{
				tempPoint = selfPowerPoss[type-1][index];
			}
			catch(event:Event)
			{
				tempPoint = null;
			}
			return tempPoint;
		}
		
		public function PositionController()
		{
		}
	}
}